#ifndef QQ_RTC_AUDIO_ENGINE_FACTORY
#define QQ_RTC_AUDIO_ENGINE_FACTORY

#include <qobject.h>
#include <qdebug.h>

#include "chat/audio/QQRTCAudioEngine.h"
#include "chat/audio/QQRTCAudioEngineByAgora.h"

namespace QQRTCAudioEngineFactory
{
	enum class AudioHandleType
	{
		AGORA = 0x01,
		WEBRTC = 0x02,
		OTHER = 0x03
	};
	QQRTCAudioEngine* create(const AudioHandleType type, QObject* parent = nullptr);
	QQRTCAudioEngine* create(const char* name, QObject* parent = nullptr);
	QQRTCAudioEngine* create(QObject* parent = nullptr);
};

#endif // !QQ_RTC_AUDIO_ENGINE_FACTORY